package com.groupseven.happycampus.mapper;


import com.groupseven.happycampus.common.pojo.BicycleSupplier;
import com.groupseven.happycampus.common.vo.BicycleSupplierBrandPieVo;
import com.groupseven.happycampus.common.vo.BicycleSupplierNameBarVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface BicycleSupplierMapper {

    List<BicycleSupplier> bicycleSupplierMapper(Map<String, Object> params);

    int bicycleSupplierAdd(BicycleSupplier bicycleSupplier);

    int bicycleSupplierUpdate(BicycleSupplier bicycleSupplier);

    int bicycleSupplierDelete(Integer id);

    List<BicycleSupplierNameBarVo> echartNameBar();

    List<BicycleSupplierBrandPieVo> echartsBrandPie();

    int deleteSupplierByIds(@Param("ids") String[] arrId);
}
